<?php
declare(strict_types=1);

namespace app\admin\service;

use app\admin\model\ResourceSaleFeedback;

class ResourceSaleFeedbackService
{
    /**
     * 获取反馈
     * @param $where
     * @return array|\think\Model|null
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public static function findResourceSaleFeedback($where)
    {
        return ResourceSaleFeedback::findResourceSaleFeedback($where);
    }

    /**
     * 更新反馈
     * @param $data
     * @param $where
     * @return ResourceSaleFeedback
     */
    public static function updateResourceSaleFeedback($data, $where)
    {
        return ResourceSaleFeedback::updateResourceSaleFeedback($data, $where);
    }

}